﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace MulticastTV
{
    public partial class Form1 : Form
    {
        //public d3d d = null;

        //[StructLayout(LayoutKind.Sequential)]
        //struct Msg
        //{
        //    public IntPtr hWnd;
        //    public int message;
        //    public IntPtr wParam;
        //    public IntPtr lParam;
        //    public uint time;
        //    public System.Drawing.Point p;
        //}

        //[System.Security.SuppressUnmanagedCodeSecurity]
        //[DllImport("User32.dll", CharSet = CharSet.Auto)]
        //static extern bool PeekMessage(out Msg msg, IntPtr hWnd, int messageFilterMin, int messageFilterMax, int flags);

        //public Timer renderTimer = new Timer();

        //void renderTimer_Tick(object sender, EventArgs e)
        //{
        //    d.UpdateEnvironment();
        //    d.RenderEnvironment();
        //}

        private void test()
        {
            //d = new d3d(this);
            //d.InitializeGraphics();
            //d.InitVMR9(@"d:\video\test.avi");
            //renderTimer.Start();

        }
    }
}
